<?php

    /**
     * Google Map component meta
     * 
	 * @version 1.0
	 * @package Components
	 * @author Anton Perkin
     */
    class GoogleMapMeta extends ComponentBase
    {
		
    	/* FIELDS */
		
		/**
		 * Gets or sets component name
		 *
		 * @var string
		*/
		public $name = 'GoogleMap';
		
		/**
		 * Gets or sets component description
		 *
		 * @var string
		*/
		public $description = 'Displays Google Map';

		/**
		 * Gets or sets component version
		 *
		 * @var string
		*/
		public $version = '1.0';

		/**
		 * Gets or sets component requirements
		 *
		 * @var string
		*/
		public $requirements = 'Requires <body onload = "InitializeMap();"> for the map to be displayed.';
		
		/**
		 * Gets or sets component required PHP version
		 *
		 * @var string
		*/
		public $requiredPHPversion = '5.2';		
		
		/**
		 * Gets or sets array of depending components
		 *
		 * @var array
		*/
		public $dependingComponents = array();   

		
		/* METHODS */
		
		/**
		 * Component initialization functionality
		*/
		public function Run()
		{
            $this->CheckPHPVersion();
            require_once('googlemap.php');
		} 

    }

?>